﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Controls;
using WPF小项目demo.Common;




namespace WPF小项目demo.ViewModel
{
   public class MyViewModel
    {
		private ObservableCollection<MenuItemmodel> menuItems;

		public ObservableCollection<MenuItemmodel> MenuItems
        {
			get { return menuItems; }
			set { menuItems = value; }
		}
		public MyViewModel()
        {
            MenuItems=new ObservableCollection<MenuItemmodel>();
            MenuItems.Add(new MenuItemmodel() { Icon = "\xe635", Title = "我的一天", Count = 999 });
            MenuItems.Add(new MenuItemmodel() { Icon = "\xe6b6", Title = "重要的", Count = 999 });
            MenuItems.Add(new MenuItemmodel() { Icon = "\xe65b", Title = "计划日程", Count = 999 });
            MenuItems.Add(new MenuItemmodel() { Icon = "\xe614", Title = "已分配给你", Count = 999 });
            MenuItems.Add(new MenuItemmodel() { Icon = "\xe755", Title = "任务", Count = 999 });

        }
    }
}
